package cn.takovh.zpl;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;

public class App extends Application {

    public static void main(String[] args) {
        Application.launch(args);
    }

    @Override
    public void start(Stage primaryStage) throws Exception {
        FXMLLoader fxmlLoader = new FXMLLoader();
        fxmlLoader.setLocation(getClass().getResource("App.fxml"));


        Pane root = fxmlLoader.load();

        Controller controller = fxmlLoader.getController();


        Scene scene = new Scene(root);
        primaryStage.setScene(scene);
        primaryStage.setTitle("Zoom Player List");
        primaryStage.getIcons().add(new Image("image/logo-tako.png"));
        primaryStage.setResizable(false);
        primaryStage.show();
    }
}
